[BUGFIX] Fix cacheHash being calculated for excluded parameters