don't throw exception on empty query and always remove existing rows when resetting manually