Atoms are not added to IQueryAtomContainer causing an index out of bounds exception downstream. Adding the atoms fixes the issue.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>