Fixed query with $ operator