Fix double selection in spec-view