Issue #2338591 by mkalkbrenner: apachesolr_index_get_entities_to_index() randomly fails