[#930] Change solr 'mm' value to '1' for OR search.

Move block of code that defines boolean closer to
where it is used.