Fixed bugs with Miranda date