Fixes #47 (I hope), crash when beerObjectId is null (I think)