There are builtin Quries in ePO for VSE compliance, you may run and find whether VSE is installed or not.
I know we have those queries built in... I was use api in scripting to confirm that the VSE is installed.
This works for me, at least on my 5.0 build ... I know there were some fixes in some 4.6 patches (I don't remember if it was patch2 or 3, sorry) for searching on mac & ip addresses, so you might try your solution on the 5.0 beta build (available at the moment, if you want to load one up), or on the latest 4.6.5 patch if your main ePO server is running an older patch level:
Note that I was just searching for a subset of one of my vm's ipv6 address ("aabb:ccdd")