Fix error handling for shift summary