fixed the save_revision function returning true when custom post type exists