fixed 500 thrown when the method on the repository uses getSingleResult()
bug #249 fixed 500 thrown when the method on the repository uses getSingleResult (fabpot)

This PR was merged into the master branch.

Discussion
----------

fixed 500 thrown when the method on the repository uses getSingleResult

Commits
-------

efc2816 fixed 500 thrown when the method on the repository uses getSingleResult()