Fix #1018 De-activated results 'Attachment types' should not show in look-ups