@macumber So all this is doing is putting the check for versionIdd sooner in the function and returning sooner. The existing code loops through all objects and if !versionIdd it doesn't add the object to the result vector. So why loop and check every loop if !versionIdd when it can be a single call at the top of the function?