Remove multiple calls to get deployments