FIX: Fixed wrong SQL syntax when searching with ForumDatabaseSearch

The expression 'if($potentialAuthors)' will always be true.
This will cause wrong SQL syntax when there is no matching Member for the given search term.