Fix relationship add button bug.