Quins book quarter-final berth