Fixed problem with static classes/namespaces.
QuickFix for ELSE_MISPLACED_IN_WHEN.