Use correct critera in query when providing LabInstance data in JSON response.