Fixed bug where missing otherwise case on if.