Fix work package filter validations

Validations didn't work before since adding an error for a inexistent ActiveRecord field is no longer possible in Rails 3.