mapData() possible error for bounds #565