Issue #3016860 by Sutharsan, tregismoreira: Find entity in the route parameters (needed for subpaths)