Filtering works for lower case inputs as well