Fix bug in explode() call and add array_filter()