Make sure all deleted windows are removed from the lists