DATAJPA-373 - Fixed potential NullPointerException in StringQuery.