Fix bug that errored on deserializing empty frames.