Fix measurement-related JDOQL syntax error in Encounter Search