BAMPFA-79: Remove calls to Date.getScalarValue(), since it was refactored away.