Fix thinko in logical decoding code.

Andres Freund