Multiple records were found and postgres was returning them in a different order than what the test assumed.