Check $interval variable is set in Cron Interval sniff

Fixes #238.