Fixed wrong input name for post types in post editor.