Properly validate blocks in particle api