Fixed bug that caused a new lot to be created instead of updating current lot