working of an sr latch
When a SR latch is constructed as you said there will be a case where both outputs are at logic high. But when input s = "0" and r = "1" is given as output q1 will become "1" and and q2 will become "0". This is more stable state for a SR latch.