Parameters not passing through:
Are they the same collation?
Are they both trimmed?
Check the parameter is being passed through, not just the name of the parameter