Fixed search for metadata containing extent.