Corrections to sqlf.py