Issue #4: Atomic lookup_next