Fix !TypeError when diffing a wiki page with old_revision > new_version.
Fix !TypeError when diffing a wiki page with old_revision > new_version.

pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac