Fixing added files not added bug

It was looking in the wrong property. This is now fixed