Fixed bug with missing erase during contact update