Fix pg stats to only list active queries for 9.2