Fixed little bug that prevented logging ipython commands