Some fixes related to AllowEmptyOrFalse support with corresponding example.