Nutrient balance affects foraging behaviour of a trap-building predator