Doctrine wrong queries fixed  (ref. wrong method "where". It has been changed with "andWhere" method)