Fixed bug# 10356 - Event handling problem in version delete function.