lockService, fixing query

checking against proper field