Fixed error when checking for hidden field authorization and context is empty