Refactoring
Ignore '-' in the query
Ignore the word before 'OR' if the word after 'OR' is empty
Add URL