Fixed bug when trying to create a new post that doesn't validate.