Avoid client side exception on DnD for empty table (#13655).

Change-Id: I71c18e87760ecbff34cfe215f56390fd75f3e55c