Fixed accidentally inverted condition in lancext