LPS-52207 Delete attachments when trash is disabled