Fixes issue #99

Fixes https://github.com/bluecherrydvr/bluecherry-client/issues/99