Fix home page pagination