Fix ignore activity bug.