Fix coverlost  when deleteting / moving attachment above it