You have found a bug! It has been fixed for a while, but I haven't released an updated version yet. The two patches to fix it are:
If you have 'git' installed, you might do best to:
git clone git://neil.brown.name/mdadm mdadm cd mdadm make install
and try that.