Fixed ef function (filter regex was too general).