fix for trac:2978

    resultspec: treats None as smaller to anything

    This avoids useless 500 when the data set contains
    null datetimes