Fixed Undefined index: internal_post_type notice