It was doing an assertion using `deepEqual` and `.selected`. Line 360.

Once I changed how `.selected` works it no longer fit the requirement. So I used the two new selection getting functions.