fixing double ransack from gemfile