Fixing a bug related to filtering out of Texts