Correctly resolve tab object by query string