fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.