Properly check for action being sent