[ALLI-2820] Fixed MetaLib functions (edit advanced search, save & delete search) that failed because searchId was not available.