Moved required check

This will allow whitelisting, due to the require check being executed
after the requirement has been lowered