Proper default value sanitation for SGeneric

Fixes #32, #33