Fix array signature creation so it works correctly.