Bugfix for corner case with incomplete BSON header int