Fixed undefined muted value being sent to firebase