Fix subcontexts used in DataGridContext