It depends on whether you filed a lien against the correct property. If you lien a property, you are obligated to timely serve the property owner. The owner must be served within 30 days from the date the lien was filed.
So to answer your question, you may have lien rights against the property and the correct owner, but it depends on the timing. If 30 days haven't passed, you can probably serve the correct owner. If 30 days have passed, but you still are within the timeframe to file a lien, you may need to file a new lien, release your old lien, and properly serve the new lien on the correct owner.