Fix a crash in recurring

Change-Id: Ifb525f9b464327bf7190f14b7b94f64ec7592fd3