fix query expression for comparing with object property