fix emptines check

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