Fixed invalid elseif condition