Fixed a bug where the check didn't return when finished.