Removes bug previously introduced to python interface