This section provides that where an individual is admitted to a hospital or other establishment as a result of the making of a public protection order or hospital direction, any previous public protection order or authority for detention under Part 2 of the Act will cease to have effect.