Fix issue when no incoming rows