Fixes #3609 - Fix wrong class expression on promises about cron