Fix selection tests

Regression from 07c7030