Better handling of deployment status.