Fix dircycle plugin

dircycle right did not behave as expected and was fixed
Merge pull request #3395 from vmalloc/patch-1

Fix dircycle plugin