Fixed #1066: Bug - Customer's domains remain reachable through HTTPS when they are deactivated
Small fixes