[FIX] Manage _inherits in attachments search