Fix case when negative offset is past beginning of partition