Add error message instead of custom data when circular reference detecte...

...d to inform end user.