Replaced deprecated PropertyPath classes (https://github.com/symfony/symfony/blob/master/UPGRADE-2.2.md#deprecations-2)