Fixed IPython version check for IPython >= 0.13