added == and != operators to hashed indices