Fixed issue #3 (empty bagits)