Added check for actual tail before using smart append
Merge branch 'master' of https://github.com/mkantor/battle-cobras