Improved NextCommand and PrevCommand return message when reaching end of list