bug(getFailedAttributes): fix to ignore null results