Fixed a dumb typo in QA permissions checking