Fixed mistakes in calling animal_database methods