Updated map functions for clearing maps, and filtering on deployments.