Use LX_ATOM instead of LX_XID when handling atoms! We've gotten away with this so far because (a) atoms haven't been used much and (b) LX_XID and LX_ATOM are the same thing under the hood.