Added indexOf instead of == to determine page location

Since review queue URLs now include the search parameters, the old code
didn't work.