SI-6778 scala.math.random should have parenthesis

Added parenthesis to scala.math.random because it has side-effects on
the seed.