Refs #67 - Fix code that adds query string.