Switch executes the first case that matches and does not check any more cases after that. So these conditions are always met when this case is checked. https://community.bistudio.com/wiki/switch_do