Fix bug #1001 - Not list all attachments when a wiki page is created