Critical bug leading to accidental unrestriction of relation fixed