Updated check so it checks all factors and reports one error. Before it would not continue to check other factors if compund and dose were present