Fix 122

This pull requests fixes problem https://github.com/bluecherrydvr/bluecherry-client/issues/122