Previously, if the input offset 'p' does not point to an entry object, the function returns the next of the nearest entry object on DIRECTION_DOWN, as generic_array_bisect() already returns the nearest entry object.
Previously, if the input offset 'p' does not point to an entry object, the function returns the next of the nearest entry object on DIRECTION_DOWN, as generic_array_bisect() already returns the nearest entry object.