Ignore empty lines when finding a fragment for partial updates.

Ignoring empty lines improves finding the end of the scope since the method is sensitive to indents. An empty line would prematurely end the search for the end of the scope.

Change hintsPrsentExact to verify number of entries match.