modified:   lib/Astatistics/Controller/Stats.pm

changed $query by \$query in searches (use a hashref nor hash).