Safety-catch if the commit array is empty