Small fix for database profiling

Signed-off-by: Sam Kleinman <samk@10gen.com>