Fix the undefined method `delete_if' for "":String query URL like below.

http://localhost:3000/step_process_failures?commit=Search&page=3&q=&utf8=%E2%9C%93
Merge pull request #380 from Eric-Guo/rails-4.1

Fix the undefined method `delete_if' for "":String query URL like below.