Handle empty search results in Recline view

Currently recline views are displayed even when a search returns no result - causing strange behaviours (the grid shows from/to be "1 - NaN" and displays "Unknown number of records").

Instead of displaying the views, a simple message ("No matching records") should be displayed instead.

This is what this PR does.