Adding a loop for getting more than solr_page_size (default 200) results in an has and belongs to many association