yorick: Fix evaluation of empty vectors in steps 2 and 3