Fixed an infinite loop problem and the identification of the first field of a local block.
Fixed an infinite loop problem and the identification of the first field of a local block.

ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools