CRM-21478 Using contribution status id instead of label in if statement