WIP: now the app had 3 input fields. the filterBy function no longer adds records to results if the locations field is missing