Convert to string before downcasing find_all_by attribute comparison