Fix the attachments list in profiles (Fixes #477)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>