No event handler should work. See here the list off restrictions on the free app: https://docs.mendix.com/developerportal/deploy/mendix-cloud-deploy#5-deploying-a-free-app-to-the-mendix-cloud
Is the before commit not triggered at all? Have your tried debugging it from your free app?