Fixing an append-less clause

The append method didn’t seem to take the existing expressions into
account.  Modified the code to do so.