Fix for edge case in sequence resync