Corrected MIME-type implementation to searching hash entries.