preserve filters in next/prev links