The command I had to use to fix this problem was
inkscape in.svg -E out.eps --export-ignore-filters --export-ps-level=3
where in.svg is your image and out.eps is the eps that comes out.
Edit
As suggested by Vladimir in comments, newer versions of inkscape doesn’t have -E option, so need to replace it with -o.