Fixes #630 - limit length of appears on statement as