Fixed 'random_slice' template filter