Addressed: I replaced the code as Don suggested above.  But there was a backward compatibility issue (the order of the _id attributes is now different - so I had to also change code in the xmodule layer to be order-agnostic when searching for assets).