Sheriff: New Hope shooter wasn't supposed to possess gun