added cannot associate lesson with invoiced contract validation