Don't call callback() for action if null.
Remove test that is giving error.