Fixed bug if no post found on new Posttype