Fix regression introduced by commit 3ad469a1c16f3de287f469b87ea6c2f5fcaeee0e

Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
Merge pull request #227 from raorn/circular

Fix regression introduced by commit 3ad469a1c16f3de287f469b87ea6c2f5fcae...