[misc] Fixed warnings displayed in the logs when enabling the deprecated Onset field