Always trim ";" from the query being sent to the node