It would be best to use `^=` rather than `*=` here.