Added logic to hide Index and Constraint links