Handle when sum doesnt have any row