fixed bug with failure to check insurance termination