Fix check from fc91deb69eca639380ff630acd7ef749743b8a64