Extracted filtering to method in commentcontroller