Fixed the event handler's checking of the slot to ensure that only items
valid for that slot are copied to that slot