Added "conversion" command error checking. Added checking for undefined.