Fixes #4633 - Select all checkbox deselected after sync