Add truncation in validation