yes, Nick and Roy are correct
it all depends on the wording of the question
there is no reason to introduce additional variables into the answer that were not stated as part of the question
why specify the ages of the children? why not hair color, height, shoe size etc. you're just adding random variables; in theory, the answer is 1 in an infinite number: male with blonde hair, female with red shoes, etc.
if you ask a general question, you'll get a general answer, and the answer in the original example is always 50%
if you want to get a 1 in 3, or a 2 in 3 result, you need to ask a different question: if at least one of the children is male, what are the odds that the older child is male (2 in 3) and what are the odds that the older child is female (1 in 3), etc.