Fixed an error which prevented a user for blocking a resource after a denied lock try.