fixes #16 (Optional modifier does not work with schema assertion in strict mode)