Fixed bug in GridView where always triggering event handlers if no event handler present