fix bug in model generation for COI filter

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>