Fixed NULL pointer error in Connection._get_equote()