In that case we should add some logic to deleteRestrictions too. I'll get to work on it.