MAGMA-240 MongoDB value set updated after variable removal