Fixed incorrect conversion.