FIX: regression on KEEP used on a rule matching several elements. (Thanks to @rgchris)