Fix home page query