fixed rare bug in reloadData implementation

Hi, please accept my fix