Selectivity in the Synthesis of Cyclic Sulfonamides