You're still LPR.
If you met residency requirements (physical presence, continuous residence, good moral character) in the last 5 years, you're going to be OK naturalizing. You can consult a lawyer if you're worried, but I don't see an issue.
You also had reentry permit.
All of this fear was instigated by a CBP who had a bad day, doesn't know immigration law well and doesn't get to decide whether you'll naturalize.