add extra conditional to append seq if statement

I'd added it to prepend, and forgot to do it to append