Fix for Issue #4041

Hello, please take a look at the patch which aims to fix http://code.google.com/p/sympy/issues/detail?id=4041 . I hope I have understood what was the expected behaviour of append() correctly.