Fix: Logical OR was wrong

If `pred` is `NULL`, the line still tries to execute the function. This
is fixed by this commit.
Merge pull request #279 from matthiasbeyer/fix-ll_select

Fix: Logical OR in ll_select()