Fix WPLParser for chained conditions