Prevent second selection overwriting the first one

Signed-off-by: Eric Eggert <ee@w3.org>
Fixing filtering