Attempting fix for finding multiple elements with invalid CSS selectors.