Add comments explaining referer check

Refs #3140