Fix a problem where invalid PVs would not be detected, leading to client crashes.