Isset throws invalid warnings, improved starts_with optimizer