fix ZeroDivisionError if there was only one query to database - issue #7

The standard deviation in case there's only one query is zero/meaningless (since there are no deviations from the mean value), so this should be:

    if n < 2:
        stddev = 0
    else:
        ...