Machine learning

For safety how about "and is_validated = true" ? (now that we have some operations that will set is_validated to null)