Changes to Persistence handler to optionally ignore empty results,
provide update queries and max/offset options
Test (not working)