Fix issue #17

added ignore to "previousPages" stack in case it's empty