Fix for Recursive calls to registerPartial missing callback.

This is a proposed fix for the issue I reported earlier.