Improving error detection logic in combineSGP