Fixing for when cap is an array wrapped hash