Added collection query example, fixed non-string query value bug