Reject sources used for astrometry based on their flags according to new configuration ListField : badFlags
Clean code according to review
Merge branch 'tickets/DM-1057'