Fix condition where nothing has been committed to amber.