Fixed the loitering problem of the Fixed Capacity Stack implementation.