Temporary fix for ransack/search.