Update base.rb

temp bug fix for multi db cleaning