Fixed an issue where qp strings were not type casted.