Fix error in related posts