Fixed bad call to fetchAll