Fixed lightcurve deletion bug, changed default kind from id to file