Yes, yes, it's all valid; the call, the object, the position, everything. I've turned it into swiss cheese with echoes and everything runs fine except containerSearchNext immediately returns 0.
Again, if I just replace %this with the object handle and put the code in the console, it returns my player object, but if I do the exact same thing while the brick is dying... containerSearchNext returns 0.
My next idea is a 10ms schedule for the search, since it's only broken during the brick's death.