Better handling of middleware users with no company collections in bdr