Fixed bug

- With sql generation in available_tags method of wiki
- Showing tag div is not correct in the bottom page of wiki when there is no attachments in the wiki page