Fix issue with virtual rtc where using frequency macros resulted in incorrect frequencies