Revert "added source element check to ensure only adding valid sourceElement attributes"

This reverts commit ba4f38b62eb9ab65b802367e12179fe86f4ba0dc.