Fixes #369 Fixes #369 LIMIT clause in session updates

#369
Merge pull request #1038 from PirataNervo/featurefix-369

Fixes #369 LIMIT clause in session updates