Fixed a bug that caused the Comment not found error message to repeatedly appear when switching tasks