Couldn't rewrite query getTension because ID argument (contract) of getTension was not able to be parsed