Added some guards for Rezo DB and default sidebars (related to #25)