Fix bug in Symfony2 auto completion