posts controller fix for project types on folders and tickets