Fixed alerts: now if url changes, all alerts are removed.