Fix bug in modified_materializables view that could cause re-materializations.