Resolves #4708 - change comparison for svg as well as this isn't working as intended.