Add unless statement to make sure dateused is not nil