Avoid switch statement with too few branches | CAST Appmarq