Fix bug in validate-behaviors cmd