Fix remove Doctrine Error

In Doctrine, the Entity Manager "delete" function doesn't exist, only "remove" function with an entity in param exist.
The solution is to use the query builder.