Fixed another memory leak and a bug updating signal minimum/maximum properties in db.