Fixed a bug in mysql::get_account()