Fixed off by one error in reading template pmap bit