Add function to limit number of post revisions kept