Seals for cordless vacuum cleaners