[ref_impl_eiffel] [1493] Fix a small bug that has somehow passed unnoticed in the flattener merge code , but just now caused a crash of the tool on the demographic / person & patient archetypes.

Revision: 1493
Author: thomas.beale
Log Message: