Minor bug fixes in comments controller