remove gets array from move, but checks for int or string

Had a problem when i moved mails, because the uid becomes an array in move, and is then a parameter for remove, which tests for int or string,

Signed-off-by: Guenter Weber <webersheim@gmail.com>