Fixing sync bug where deleted container would re-appear after deletion