Fix category save parent_id.