compute_bin: ignore NA's. Fixes #148