Fix NPE caused by frequency-based trips