Bugfix with RSS

Added checking for the tables existence.
Without this, sometimes there were errors, for example, when blogs are
not installed but user try to read blogs RSS.

This fix allows to prevent errors with RSS.