Fix isArguments and arguments slice functions