Fixed to not do resolver processing when in page editor mode, depending on rules set and layouts present (or not present) this can cause a redirect loop when Page Editor is launched.
Merge pull request #1 from ActiveCommerce/PageEditorFriendly

Page editor friendly
Merge pull request #2 from jasonbooth/master

Page Editor Friendly