BUG: Fix bug that skips multivariate ctypes in some cases