fixed first row omission in database fetch

fixed first row omission in database fetch...returnAdvice now fully
functional.