anchor.diff:  
   -spec handle_info(any(), state()) -> handle_info_ret_state(state()).
   handle_info('crawl_accounts', _) ->
  -    _ = case kz_datamgr:get_results(?KZ_ACCOUNTS_DB, ?CB_LISTING_BY_ID) of
  -            {'ok', JObjs} ->
  -                self() ! 'next_account',
  -                {'noreply', kz_util:shuffle_list(JObjs)};
  -            {'error', _R} ->
  -                lager:warning("unable to list all docs in ~s: ~p", [?KZ_ACCOUNTS_DB, _R]),
  -                self() ! 'next_account',
  -                {'noreply', []}
  -        end;
  +    case kz_datamgr:get_results(?KZ_ACCOUNTS_DB, ?CB_LISTING_BY_ID) of
  +        {'ok', JObjs} ->
  +            self() ! 'next_account',
  +            {'noreply', kz_util:shuffle_list(JObjs)};
  +        {'error', _R} ->
  +            lager:warning("unable to list all docs in ~s: ~p", [?KZ_ACCOUNTS_DB, _R]),
  +            self() ! 'next_account',
  +            {'noreply', []}
  +    end;
   handle_info('next_account', []) ->
       kz_couch_compactor:compact_db(<<"services">>),
       NextDay = calendar:datetime_to_gregorian_seconds({erlang:date(),{0,45,0}}) + ?SECONDS_IN_DAY,
  
positive.code: %%% Internal functions
  %%%===================================================================
  
  -spec check_then_process_account(ne_binary(), {'ok', kz_account:doc()} | {'error',any()}) -> 'ok'.
  check_then_process_account(AccountId, {'ok', AccountJObj}) ->
      case kz_datamgr:db_exists(kz_util:format_account_id(AccountId, 'encoded')) of
          'true' ->
              case kz_doc:is_soft_deleted(AccountJObj) of
                  'true' -> 'ok'; 
                  'false' ->
                      process_account(AccountId)
              end;
          'false' ->
              'ok'
      end;
  check_then_process_account(AccountId, {'error', _R}) ->
      lager:warning("unable to open account definition for ~s: ~p", [AccountId, _R]).
  
  -spec process_account (ne_binary()) -> 'ok'.
  process_account(AccountId) ->
  
negative.code:         'true' ->
              lager:debug("IAM onbill crawler saving account ~s as dirty", [AccountId]),
              kz_services:save_as_dirty(AccountId),
              {'ok', 'marked_dirty'};
          'false' ->
              {'ok', 'no_need_to_mark'}
      end.
  