DAR-1442 Fixing Total Pages count on Wikia Home Page

This commit changes the gating logic for updating data
from database since memcache returns false which is treated
as a valid page count.
This resulted in pulling the fallback number
( https://wikia-inc.atlassian.net/browse/DAR-1442 )
Merge pull request #1215 from Wikia/DAR-1442

DAR-1442 Fixing Total Pages count on Wikia Home Page