Make agenda restriction locks work.