check if component is present before it's added to the suggestion list

Proposal for #519