Fix simulation of scanBackward

Hello @x-ma, 

Please review the following commits I made in branch 'nick-backwards'.

b5c221819eecea8d0a24066c7e0e5542b0a8cd7a (2014-12-04 17:33:09 -0500)
Fix simulation of scanBackward

R=@x-ma