wfs: catch end of selected features (fixes #8979)