Possible fix that causes "unserialize(): Error at offset ..." error

This happens only when enabling code coverage.