use correct arel predicate in ransack definition