Fix infinite looping on circular dependency with colorize option

Fixes issue #22