[DEBUGGING] Fixed checks.