Fix client crash from changing item to nothing