Display compare link conditionally