Fixed a miscount on the homepage query