I\'m trying to filter database with options from a drop down using JavaScript to change the values to filter by. However dropdown is filtering the value between the option t