Fix PsychometricData query