Change order of fetch and fetchAll