Fix Issue #289: No attachments when edit a wiki page