Include index param in .contains()