Fixed for issue Apex Error Query Exception #83

https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/8
3