Fixed undefined variable post data when no results are found (see issue #4).