Avoid appearance of if if else ambiguity