Fix delete all in assets sync. Closes #211.