Spin filtration in an antiferromagnetic ladder