Is it necessary to check and delete?  Wouldn't it be possible to just delete?