Fixed an exception with Edit-Link....

Fixed an exception with EditLink permissions in empty categories