Fixes #343 missing "Update Attachment" when reaching "maxattachments"-se...

...tting