Having trouble with asserting selection