I'm going to have to add a bit more code where the post is added to the database to try and fix this.