Corrected exception throwing conditions in filter comments.