Fix origcoins counting (stupid error).