added section to avoid a key error generated for short cells that got dropped in ordering
HWR