BUG: fix transform with integers

closes #7972