Fix a bug in scan_items() that can cause items in the quiver to be unusable