I realised I had configured the 'default block' command under the 'fallback-settings' and not directly under the 'juniper-local' profile itself. Now that I've done that it works as intended.
refering to this KB iam unable to create categroy in juniper local profile under web filter . as per KB category can be defind in profile itself . please help