Added sketchy error checking to append

Pretends to address issue #948