Feature #907 : fixing attachment display problem