[WFCORE-2] Let the ReadOnlyContext invoke on the primary context when as...

...sertions are enabled