Fixed bug in implementation of CC validator