Fix circuit re-use bug; used wrong attribute.

Circuits are now properly reused.