Removed useless code for #1 Filter for Doctrine proxies