Update projects-detail.mql

updated projects-detail.mql to handle the parameter for project type if exists