Fix non-last overflow chunk handling. Fixes #45.