Add fix and test for alternate datatypes

Test is only for Trigger, though the problem sometimes occurs (without
damage) with Date vs DateTime (the date time parser handles dates just
fine)