corrected number comparisons issues in notationConverter.js