TypeError: list.filter is not a function. - Better Auth