Added filtering and transformation for search words input