Fixing notice in categories finder plugin