Fix the issue with locking in Mc_DeleteViewState SP