Add missing return on invalid data offset. Fixes #30