Fix Dashboard dates Null pointer Exception