Hackery to stop us passing a null DateTime into Entity Framework.