Fix potential endless loop when loading properties with placeholders