Bugfix and improvements on search page

The "fail" method must be called before the "always" method.
Show error text when search fails and show a "no results" text if no results are returned.