Fixed #2062 by adding a check to see if the selector is array-like in .not() before...