Fixed so it actually checks the level

small change but commiting cause why not