Added sketchy error checking to append
Merge pull request #967 from jaypoulz/jp948

Added sketchy error checking to append