Although from my post (after rereading it) you may be confused, let me clarify.
Adultery is punishable under article 134 of the UCMJ but only in connection with 'good order' and 'reflection on the military'. It is not, of itself, classified as a crim.
Former Secretary of Defence Cohen sought for a long time to have the clarification of article 134 as relates to Adultery changed and the additional language added.
http://155.147.98.10/sja/Crim Law/adultery1.htm
What is important to note here is that the commanding officer still has discretion to bring the charges but the act of adultery itself must conform to one of the above conditions.
I.E., if you are married and have an affair with a member in your chain of command then it could be a punishable offense. Of if you are married and the other party is not a member of the military but the offense creates a situation against 'good order' then the offense could be prosecuted.
However, if a family member is not also a member of the military and commits adultery, then the UCMJ does not come into play.
My comments in the previous post were to emphasize the change in the application of Article 134 to add the conditions where the article can and should be used to prosecute a case of adultery.