Fixed check for arguments when using /adv