Use closest() instead of parents() to avoid conflicts.