Utilize canFind() in getswitch()

This is exactly what such a function was created for.