FAIMS-394: fixing bug with select highlight in compare entity and relationship page