Fix for: Database may contain mayor with multiple spaces.