Fixed bug where the string "$script" would show up in the query box when creating a new report