Now, context.period returns default value even if validation error is raised.