 
   'click .location-list li': (event, instance) ->
     selectedLocations = instance.selectedLocations
-    query = id: @_id
-    if selectedLocations.findOne(query)
-      selectedLocations.remove(query)
+    if selectedLocations.findOne(@_id)
+      selectedLocations.remove(@_id)
     else
       instance.insertLocation(@)
     selectedLocations.find().fetch()

    @[Template.instance().countryLevel.get()]

  locationSelected: ->
    Template.instance().selectedLocations.findOne(id: @_id)

  allLocationsSelected: ->
    instance = Template.instance()

    prop.substr(@PROP_PREFIX.length)

  @insertLocation = (location) =>
    @selectedLocations.upsert _id: location._id,
      countryName: location.countryName
      admin1Name: location.admin1Name
      admin2Name: location.admin2Name
