added additional code to prevent unnecessary queries from being sent to the server.
added additional code to prevent unnecessary queries from being sent to the server.

mmcdon20/chicago_police_map,mmcdon20/chicago_police_map