Fixed the ordering in capture_check so that it is more accurate