Fixed circular redirections

* Fixed circular redirections mechanism, issue #77
* Added example for virtual folders