subList_select test assumed a given order. Made it explicit for PostgreSQL compatibility