Fixing a bug with no date in bm