[OE-5253] fixed diagnoses selection bug when you select a primary and then search for a secondary using the autocomplete.
Merge branch 'jira/OE-5253' into feature/glaucoma-2.1