Handle cases where we get empty elements