Added check on strict mode active when setting restrictions (Duhhh)