Fix MetricType on_delete Check for SLAProfile. See merge request !6366 (cherry picked from commit 937c04f2) 1c9a0f67 Fix MetricType on_delete Check for SLAProfile.