Fix for broken BC through #1503: The slice filter works as the array_slice PHP function for arrays