Manuel, Juanito, thanks for testing and additional notes. Guys, could you please also try ADF duplex scan with the patch applied - would be interesting to see what max height we could have in this case. Upon finishing the tests I'll commit final version of the patch based on information from you to SANE GIT repository.
-- ?Ilia Sotnikov