Fixed handling of partial packets