Spelling mistake in the search term caused null errors, added if statement
for testing purposes.