patches for envision

fix: discard library folder ids, only return existing libraries master