Fix for incorrect conversion.