Do not disable restrictions if database version not set