         { app_instance_id: appInstanceId }
 
       resetSelectedApps = -> scope.selectedApps = _.mapValues(scope.selectedApps, -> false)
+      updateAppInstances = (appInstances, primary, manual) ->
+        valuesPresent = _.find(appInstances, (hash) ->
+          # We push bot at the same time so we can check for one
+          hash.value == 'prm-records-only'
+        )
+        if valuesPresent then appInstances else appInstances.push(primary, manual)
 
       retrieveAppInstances = ->
         return if false # needed?

          'value': manUid
          'label': 'Manual'

        if appInstances then appInstances.push(primary, manual) else (appInstances = [primary, manual])

        scope.organizationApps ?= appInstances

      scope.isApplicationSelected = (app_uid) ->
        !!scope.selectedApps[app_uid]

        ).options

        # Used as a 'reset' switch to filter on primary records only
        primary =
          'value': 'prm-records-only'
          'label': 'Primary Only'
