Fixed query for books in progress