Fixed bug where featured_media_id was being set to 0

Fixed bug where featured_media_id was being set to 0 #571