refactored check for duplicate ogc services