Fix bug on first time activation with name not being set and draft not being a a custom status in wp_post_status.