Fixed issue in RmsSchedulingEventLogger that would cause runtime errors due to wrong datatype