alarm.data.sync does not line up with makeData().  It would want alarm.data.type === 'sync'.