Fix where scheduler pulls databases from.