Fixed disappearance of html tags in query scripts upon save