Fixed restrictions undone when using on demand restricting in some situation