Fix compiler warning (return NULL instead of false)