Fix small issue with attachment import