Fix: Resource numbering starts at 0.