'else if' condition fixed.