Fix loop bounds per Simon Leinen's suggestion; Thanks, Simon!
minor post tweaks