Switch statement returns default

I have a switch statement that fails to return any of the cases and instead returns default. Ive used different classnames for default and they work successfully but the cases fail to return when called. The script is copied (the entire file TBH) from BIs Escape from Malden initServer.sqf with th...