Fix the RCBD treatment factor handling and refreshing of the measurements page

Reviewer: Tiff Go

Issue: GCP-9457