Related posts fix on query posts