Fixed so correctly gives 100 for working sample project
Added checking for restricted class