Fixed bug of recording bag type when passed as an argument using flag. F...

...ixes #99