Only convert value if needed