Fixed string interpolation and array key checks