Fix order in which atoms and strings are inserted

They ought to be inserted at the end, not in the beginning. This way it
will work with existing instructions.