Deal with null begin/end-time filed