fix supported_post_types() logic