Fixed a bug with generating outstanding tables after login