Fix bug in posts editing form