Fixed tables tab for database module with new template engine