#10307 Changing invalid qualities of -1 to valid number of 1