Also don't reset the counter when the time is invalid Bug 27549307 Change-Id: Ib9ad030e348ec5e32936709f1284e3c76e88e254