I think "NOT NULL" should only be added if IsNullable has a value and it's value is false. 

You're adding NOT NULL when IsNullable is true.