Fixing the begin and end update callbacks.
Fixing a bug in open result sets.