SONAR-4710 Do not persist measures when they contain no value