No need to check both delete_after and delete_mode since the former