Only change selection for ontologies.

Change-Id: Icfa8f829f3c5be723f6d354f62a688702a5b1cf1