Search all translations for the exact key

Mysql returns lower and uppercase matches. If the first result doesn't match(in a case sensitive way) then the code assumes it must return a hash.

Since mysql may return the exact key at the end of the result array we have to check the entire result array for an exact match and only then can we assume a hash should be returned.