Had to make sure that the command was only returning numerical values.