Issue with not detecting string-numbers for id&ct. Sorry for rapid commits & updates.  This one should do it.