Fixed issue where we were redirecting to posts/null after creating a new post