[Communication] Fix Issue with digital pin data

Would crash here before when _digitalHistory[pin] was empty.