Bug fix for Add and edits sets