Fix missing parentheses when checking the ignore list for teleports.