Fix if statements crashing when the branches had more than one element