Correct the callback function when editing attachments.
Version bump to 1.5.2.
Merge tag '1.5.2'

Tagging 1.5.2.