Changed duplicate definitions condition to return all duplicate definitions.