Fixed restricting profile

Closes #1610