Fixed qualifications bug