Fix mislabeling of masters/slaves in Database.scala.