Fix a bug where a scheduled item ID would get retained on registrations in a certain...