Fixed WetKit Core for Issue #2599248 by donutdan4114: array_filter() issue after upgrading to 7.x-1.0-beta10