Fix post pagination