Fix switch/case falling through to the default instead of breaking.