Fix lastChecked skipping bug