don't rely on journal record id to find predecessor and use version instead
dropped redundant limit
Merge pull request #1039 from opf/fix/wrong_diff_on_first_wp_journal_entry_5322

Don't rely on journal record id to find predecessor and use version instead