You're right .. it worked because the layername starts with the prefix so it found it but it shouldn't.
PREF:PREF_layer1