Simple efficiency improvements for project deletion