Changed books controller logic to account for no search results.