Fixed bug when Post is not found