Fixed minor cosmetic code issue with case/when/else statement