Handle FALSE when database query fails.

If for some reason getRecentPopularItems fails it will return FALSE.
This should handle this situation.