Fix core order/adjustment spec

It was failing most likely to the default ordering in postgres. I
changed it so that it doesn't depend on the order to be valid anymore

cc @jdutil