Switched from string.format() for query inputs to parameters.