if statements in /show/:filter/substatus rewrote into switch/case