Re-required and fixed logic for @opts[:mongo]