Make dialyzer happy
Make dialyzer happy

Dialyzer was giving me the following warning so I refactored into a map call
which I think looks cleaner anyways.

    The pattern [{{Idx, Node}, 'primary'} | _] can never match the type []

basho/riak_search,xuejianhai/riak_search,wwezhuimeng/riak_search,basho/riak_search,xuejianhai/riak_search,wwezhuimeng/riak_search