There's been another glitch brought to my attention that if players use books filled with garbage characters they can prevent a chunk from saving. This means you can fill up a chest, do the glitch and then empty the chest, leave and the chunk will not have updated.
This fix will remove books filled with garbage characters. The default encoding is US-ASCII (you can change it in the config if you use another charset on your server) you can also specify a threshold of pages (default 5). If a book has more than 5 pages with characters that are NOT in your selected encoding the book will be deleted.
All options can be changed in the config, you'll need to regenerate your configuration file or manually add the new settings to your config if you're upgrading.