Fixing "invalid argument" error in element_children().

Fixing "Invalid argument supplied for foreach() in element_children()
(line 6400 of includes/common.inc).".

The error happens when one or more fields are disabled in the the
display settings.