Return 404 status code when there is no results
Created by: szarsti
This allow us to differentiate between situations when query is badly formed and when query is semantically valid, but no data matches it. I think it is useful to have such separation.