[EE] Fixes the incoherent filtering by milestone in `/projects/:id/issues` and `/groups/:id/issues` endpoints