The only SAFE way to make a wish is to NEVER wish for anything GOOD for YOURSELF or others.
Only wish for HORRI-BAD things for other people, that way you are completely removed from the wish. If you wish bad things for people YET to be your enemies or who dont know about you, chances are, you wont have to worry about being affected.
Just watch for play-on-words so when you ask that John Doe be barren, that he doesnt become Baron.
This should be security against wishes being twisted against you-and in the cases of evil beings (not Noble Jinn, but Efreet or Glabrezu) you're guarenteed they wouldnt twist it into doing something good for your enemies because even though it would make your life more diffucult it would be a GOOD act on their part which they wouldnt do. In the case of the Noble Djinn, he may or may not do it under threat.