Repair User/Script Flagging routes

Applies to #262