Added a response when a query yields no results.
Pulled action data out of method calls.