Fix on metric validator

| Q                   | A
| ------------------- | ---
| Bug fix?            | Yes
| New feature?        | No
| BC breaks?          | No
| Tests pass?         | Yes
| Scenarios pass?     | Yes
| Checkstyle issues?  | No
| Changelog updated?  | No
| Fixed tickets       | 
| Doc PR              |