Fix missing conversion of typed memoryview to numpy array