Walking between Standing People

It is not recommended for a man to walk between two standing women or for a woman to walk between two standing men, but either gender may walk along with two or more people of the opposite gender if all are walking.
Note If anyone is holding a book or any intervening object, there is no problem with walking between the other people.