Seems to work with uids (produces no errors), but results seem weird...
I still have to check them a bit more.