Fix #494. Start indexing from 1 instead of 0