Cast size to lower() and simplifiy the searchlist