correct findSwitch function to work properly
with fixed(hidden) switch items