Fix /pastnames query