Solve a promise resolution issue when checking for new operations.