fix issue with fdb_ranked

when the skipped-list reached level 2, the algorithm lead to inconsistencies