Fix setMaxResults
Merge pull request #23 from MatthiasVets/master

Fix setMaxResults