Fixed hook_entity_load to only run through sequence when type is a node