Add NaN checks before sendChanges()