This is a bad API. It should return an array all the time, and empty array if not found.