admin: fixed issue with usage of _class('admin_methods') and double encoding of table names using db()