Readline logic added to prevent out of index when history queue is null
Readline logic added to prevent out of index when history queue is null

bingbing8/PowerShell,KarolKaczmarek/PowerShell,bmanikm/PowerShell,kmosher/PowerShell,jsoref/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,jsoref/PowerShell,bingbing8/PowerShell,PaulHigin/PowerShell,KarolKaczmarek/PowerShell,jsoref/PowerShell,bmanikm/PowerShell,daxian-dbw/PowerShell,KarolKaczmarek/PowerShell,PaulHigin/PowerShell,bmanikm/PowerShell,bmanikm/PowerShell,TravisEz13/PowerShell,KarolKaczmarek/PowerShell,kmosher/PowerShell,KarolKaczmarek/PowerShell,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,bmanikm/PowerShell,jsoref/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,daxian-dbw/PowerShell,bingbing8/PowerShell,daxian-dbw/PowerShell,kmosher/PowerShell,TravisEz13/PowerShell,kmosher/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,bingbing8/PowerShell,TravisEz13/PowerShell,kmosher/PowerShell,jsoref/PowerShell,bingbing8/PowerShell