[FIX] Skip orphans for double payout detection

Should fix the case where orphan blocks are followed by valid blocks
with the same or lower height due to changing the main chain.

Fixes $715, specifically the orphan block issue.
[FIX] Fix payouts on orphans
Merge pull request #810 from TheSerapher/issue-715-skip-orphans

Issue 715 skip orphans