relation now supports first and last directly + tests