fixed the GetSingle method issue for EntityRepository by building the expression tree manually. Related to issue #15