Fix some notices
Fix category form not retrieving tags.