[#1159] Make sure we not produce an empty buffer on decodeLast(..)