Analysis of error control in large scale two-stage multiple hypothesis testing