Fixed rotation subroutine. Using report numbers rather than run numbers to rotate out old data
Merge branch 'mirror-patch'