MDLSITE-3551 first post filter now checks discussion topic

https://tracker.moodle.org/browse/MDLSITE-3551