Refactoring of AdvancedSearchController:

- Employs ActiveSupport's Object#present? method over AdvancedSearchController#nil_or_empty
- Cleans up code formatting a little