Fix bug in menu device selection filter