IMPROVEMENT: validation of the query to numeric fields and null values ​...

...​are interpreted as 0.