Fixed off by one error in get_prev_cell

Not sure why this was a TODO. Maybe `find_cell_index()` returned zero at one time, but in the browsers I tested, it always returns null if not found.
Update documentation for functions that can return null
Merge pull request #6565 from dsblank/patch-1

Fixed off by one error in get_prev_cell