Added workaround for JRUBY bug to improve performance for Date loading

This is the same problem as we already fixed for Time in an earlier
commit.