Don't know how I forgot to look into this (I'd noted this in my email 15 June 2016 at 17:35).

_valid_from_row and _valid_to_row are implementation details of this feature

That these were taking the wrong values helped find the bug.

The fix at r1371 should get this and the mixed-up parameter column bug that Colin and I noticed.