Allow multiple parameters with the same name in a <select> statement. It's just the same one used multiple times in the SQL. The first paratemeter should be fully qualified, but next occurenced should only include the name of it and no other qualifiers.
Fixed.