qaullib: bugfix: explicitly check for == 1 in if