Fix for the bug 2682 - Showing wrong name in error popup while deleting ...

...all the rows from grid and any one row not matching delete criteria