Group averaging in the (p, q) oscillator representation of SL(2, R)