Fix for adding CORS filter to configuration