Doctrine 2 - ORM

[GH-353] prevent the validator to stop with an "undefined array index"-error