fix other duplicate case statement

Continuation of #304, should resolve #302