Clean up the code before querying the number of preys.