Fix filtering of version selector