Only call #any? on mhlds when they are present.

A search for "nature" throws an error previous to this PR.