Correction in query by name of the animal and other parameter