Fixed deletion of problems.

Not sure why, but before this change access to deletion of problems was denied?
Works now though