Change check for cursor generation.