Fixes #9. Wrong variable in elgg_extract