Fixing functional test around children potential matches