fixed blockPallet to return false when pallet is delivered