Fix for #1087: Using appendTo with select elements