Improve _attachment handling when its are removed. (Fix #14)