Fixed len() bug in non-IATI elements script.