added first/last to collection links