Doctrine 2 - ORM

[GH-618] [DDC-2188] Fix arithmetic priority