Removed dependency on argument being nil for checking whether an argument was captured.