Fixes #369 LIMIT clause in session updates
Merge pull request #1037 from PirataNervo/fix-369

Fixes #369 LIMIT clause in session updates