Fix aftersort Listener