fixed an overzealous heuristic and doing searches for colors more correct (re-fixes #20)