Minor change to the view selector code