Filtering table by status not working properly - TanStack