Multiple libraries open so many cans of worms
You could store the path to the library it was created for like a "m3u" file does, leaving the option of "./" (for whatevers current).
Being able to delete obsolete (or defective) saved queries is important :^)