fixed missing first row of result

row was fetching when it didnt need to.