Fix for raising a specification error when the argument given is a tuple