grammar: fix erroneous determination of transparency in determining firsts

Signed-off-by: Peter Williams <pwil3058@gmail.com>
calc: move error detection to resolve reduce/reduce error

Signed-off-by: Peter Williams <pwil3058@gmail.com>