Added "Is reference set" condition.
Improved example.