Added InvUtils.getFirstIndexWithItem()