Ensure notification attrs are updated (but not yet persisted) when batching is enabled. Fixes #186.