Fix [start|end] date bug in quiz advanced properties when creating a quiz - ref #6586