[BISERVER-11535] - Fixed the path vs id evaluation logic