Fixed bug in OData extension when looping through a multi pages collection. Reported by Vishnu Perabathini.