lockable chest problem

I have a chest that needs a key to be unlocked. Problem is that it does not matter whether I have the key or not, it can be unlocked.
Attached is an example.

I will be thankful for any help in this regard.

This is a bug which is solved for the next version. Just add a second key in the gui and use the same key

Thank you Pertex. It works a treat. :D

Pertex wrote:This is a bug which is solved for the next version. Just add a second key in the gui and use the same key


Does that mean that the work around will be broken in the next version?

no, it still will work with the next version