fixed cycle spec failing due to unpredictable order of returned records