Fix handling of timestamps without timezone.

Was broken with the fix of issue #225.