Fix item source/sink computation.