ESSENTIALS-500: Fix issue with sequence number.