Fix the bug in auto-expand mode when there are no rows to display.
Fix the bug in auto-expand mode when there are no rows to display.

koljonen/pgcli,darikg/pgcli,dbcli/pgcli,dbcli/pgcli,koljonen/pgcli,darikg/pgcli