fix false alarm "SQL statement:query returns no result"

reported shuehner, #9