Correct "Filter by post type" for relationship fields

List only the posts of the specified post types instead of all the posts of any post type when selecting 'Filter by post type' for a relationship field.