Added nullable to parent_id column

Change that solves the issue #75.