Fixed error in pests code.