Replace incorrect inserts with remove