changed clear item to clear all instances of itemlink in the instanceitems table