Fixed issue # 171

Fixed bug related to not being able to modify 'from' and 'to' fields of
an existing supply-billtime. Corrected SQL statement