Made it use the proper native

Using the native so it will check for flags.
Added flag check to exclude races from total level
Changed to use the native for flag checking
Merge pull request #170 from RemyLebeau/patch-19

Update so can exclude races from level count