Work around JRuby bug when DateTime fields are nil.

When matching a Time field, if the attribute value is nil, do not raise an
exception, but instead return false.