Fix messages for min/max length