This `if (...)` could be brought up to the line for the `val previousRDDOpt` declaration.