Fixed version of MetaSearch for rails 4