Avoids usefulFact recursion with nil parameter. Fixes #518.

Ph34r my 1337 c0mp1l3r skillz.