Move special case for r.table in 'can_prefix'