Issue [#1578566] by zyxware and probably [#1291348]: Unable to access menu items that used to be protected but are no longer protected because of hook_db_rewrite_sql