Added proper error handling on non existing post.