Fixed problem in Symfony 2.3 - throws correct exception now