add filter for single table inheritance