Latent fix: Use !empty() instead of isset()