Fixed incorrect ID cell detection