Calculating the correct section for redirecting the user from the project list