Fixed minor bug in peekStack()