[mbag] Add necessary checks before dereferencing iterators
Fix for #263 (closed) - and likely other things: iterators have to be checked after a call to find().
Fix for #263 (closed) - and likely other things: iterators have to be checked after a call to find().