While your test works with /ban, did you try it with /ignore, considering that's the command in question here.