Fixed restrictions not always showing correct after on demand restricting

Fixes #1549