Added support for eq, ne, etc to avoid issues with html libraries escaping > and <

This can probably be done neater with some regex so we also support lte etc.