Thanks for your quick reply. I did remove the then and got the same results.