Instead of throwing an error just return an empty list. Since that is actually what it is. Fixes #19789