Adding check for circular reference in concepts. This fixes #27