ff8ebe7 Fix: check project deletion from list of projects

Authored and Committed by mkovarik 4 years ago
    Fix: check project deletion from list of projects
    
    Using count() on project which does not exist returns exception because
    user is forbidden to access the project resource - it is not possible to
    detect if project does not exist or user does not have access to
    project.
    
    Checking list of available project instead counting project. Selector is
    dynamically updated each call.