Fix #3, Incorrect warning about duplicate resources