shows entire session history when only startsess is given

If a user only provide session number (ex: ``~1/``) to ``%history`` magic, it will show entire history of that session. #2963