[api2] Fixed account listing bug