Fix home query