I think I resolved this. Please refer to PR page <https://github.com/sympy/sympy/pull/18769>.
-- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/cce5897f-f21d-4c94-bb96-a9b2f42dd41f%40googlegroups.com.