Fixed typo in SQLFilter (use statement ClassMetadata)
Merge branch 'hotfix/issue-#651' into 2.3