fixes for cases where empty result returned from query; bumped version