The mothers jailed after waving to their children in the street