Are the VLANs configured on the router or the switch? A good practice is to configure these at the core switch layer. The MX should only really be routing internet and VPN traffic. That way you can do a default route on the switch to the MX and then create specific layer 3 routes or ACLs as needed.
Adam R MS | CISSP, CISM, VCP, MCITP, CCNP, ITILv3, CMNO
If this was helpful click the Kudo button below
If my reply solved your issue, please mark it as a solution.