Set last error when comment is not found