Fix on mother-daughter loop in gen particles yielding enormous log files