SES-1933 : Only fail for comparisons across different supported datatype
ranges

This fixes the SPARQL open-world date-2 test that started failing due to
the previous change.