some fixes (removed column status from type report and fixed work report to ignore (depends configuration) launchtime) and updated sql