Fix problem in metadata when encountering null closing hour/minute.