Fixed a typo that was causing the error message 'Either plugin or theme must be set to True.' to appear erroneously