Hack to reset PDO statement iterators after counting