Parse and evaluate if with else if