Fixes #36

segment_id now defaults to NULL as expected.
Merge pull request #38 from Cerberus98/master

Fixes #36