fixed a bug which occured when qual score is 0 was being evaluated as false