Don't add relList to all elements
Check if attribute exists