Fix access violation on actived grid editors (enum, date, set) when the grid got reloaded. Fixes bug #893 and bug #883.