Fix frontpage invalidation logic