Fixed not disabling on demand function settings when on demand restricting for category is disabled