Fixed infinite recursion

This fixes error:
infinite recursion encountered

This is our (zalora) fork issue.

But this does not fix the heart of the problem,
which is somewhere deeper in `utils`.