Put initial queried JID in the query form